package com.music.dao;

import com.music.entity.SongListType;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SongListTypeMapper {

    /**
     * 通过父类ID查询
     * @param parentId
     * @return
     */
    List<SongListType> findByCondition(Integer parentId);

    SongListType findById(Integer songListTypeId);
}
